﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YiYiTong.Rocket.Model
{
    public enum ResultEnum
    {
        Success = 0,
        Fail = 400,               //通用错误，前端拿到400直接提示message
        ServiceException = 500,   //服务异常

        NoData = 1000,            //无请求数据
        ParamError = 1001,        //缺少请求参数
        AnalyticError = 1002,     //解析数据失败
        SignError = 1003,         //签名验证失败
        TimeError = 1004,         //请求失效过期
        DecError = 1005,          //解密失败
        TokenError = 1006,        //用户凭证错误
        NoService = 1007,         //服务不存在
        MerchantError = 1008,     //商户异常
        DoubleSubmitError = 1009, //重复提交
    }
}
